package cn.com.wxd.service.dispatch.engine;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Title:ScheduleModel.java
 * Description:cn.com.wxd.service.customtask.engine
 * <p>
 * Company: Amumu管理平台
 * Copyright: Copyright (c) 2016
 * All right reserved.
 * Created time: 2017-4-9 下午8:06:44
 *
 * @author ComXu
 * @version 2.0
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "schedule")
public class ScheduleModel implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1384379060667143000L;
    private String taskId;
    private String taskName;
    private boolean isRun;
    private String type;
    private int interval;
    private int repeat;
    private Date startTime;
    private String script;
    private String cron;

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public boolean isRun() {
        return isRun;
    }

    public void setRun(boolean isRun) {
        this.isRun = isRun;
    }

    public String getScript() {
        return script;
    }

    public void setScript(String script) {
        this.script = script;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getInterval() {
        return interval;
    }

    public int getRepeat() {
        return repeat;
    }

    public void setRepeat(int repeat) {
        this.repeat = repeat;
    }

    public void setInterval(int interval) {
        this.interval = interval;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
}
